package com.xtedu.examproject.entity;

import java.io.Serializable;

public class TeacherCourse implements Serializable {
    private int teacherId;
    private int courseId;
    private boolean state;

    public TeacherCourse(int teacherId, int courseId, boolean state) {
        this.teacherId = teacherId;
        this.courseId = courseId;
        this.state = state;
    }

    public TeacherCourse() {}

    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public boolean isState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "TeacherCourse [teacherId=" + teacherId + ", courseId=" + courseId + ", state=" + state+"]";
    }
}
